#coding:utf-8
from __future__ import division


from django.conf.urls import url
from django.contrib import admin
from .views import views
from .views import updataServerDataClass


app_name = 'appMonitor'
urlpatterns = [
    url(r'^$', views.index, name='index'),
    # url(r'^business_add', views.business),
    url(r'^host/(?P<envID>[0-9]+)/$', views.hostView, name='host'),
    url(r'^application/(?P<envID>[0-9]+)/(?P<hostID>[0-9]+)/$', views.applicationView, name='application'),
    url(r'^updataServerData/(?P<envID>[0-9]+)/$', views.updataServerData, name='updataServerData'),
    url(r'^updataServerDataTest/$', updataServerDataClass.main, name='updataServerDataTest'),
    url(r'^appDetail/(?P<appID>[0-9]+)/$', views.appDetail, name='appDetail'),
    url(r'^allEnvAppDiff/$', views.allEnvAppDiff, name='allEnvAppDiff'),
]